package com.wontube.core.conf;

import java.io.Serializable;

/**
 * @author yuechao
 *
 * 数据库配置信息
 * 
 */
public class Database implements Serializable {
	private static final long serialVersionUID = 7422532639072579311L;

	/**
	 * 标识符
	 * 
	 */
	private String name;

	/**
	 * jdbc驱动程序的全称，如oracle.jdbc.OracleDriver
	 * 
	 */
	private String driver;

	/**
	 * 数据库Ip地址
	 */
	private String url;

	/**
	 * 帐号
	 */
	private String account;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the driver
	 */
	public String getDriver() {
		return this.driver;
	}

	/**
	 * @param driver the driver to set
	 */
	public void setDriver(String driver) {
		this.driver = driver;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return this.url;
	}

	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * @return the account
	 */
	public String getAccount() {
		return this.account;
	}

	/**
	 * @param account the account to set
	 */
	public void setAccount(String account) {
		this.account = account;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return this.password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
}
